//
//  CYMessageTableViewController.swift
//  WeiBo
//
//  Created by Mr_J on 16/3/2.
//  Copyright © 2016年 mac. All rights reserved.
//

import UIKit

class CYMessageTableViewController: CYVisitorViewCotroller {

    override func viewDidLoad() {
        super.viewDidLoad()
        if !userLogin {
            visitorView.setPageInfo("visitordiscover_image_message", message: "登录后，别人评论你的微博，发给你的消息，都会在这里收到通知")
            return
        }

        let button = UIButton()
        button.setTitle("Cyr", forState: UIControlState.Normal)
        button.backgroundColor = UIColor.orangeColor()
        button.sizeToFit()
        
        navigationItem.titleView = button
        
        navigationItem.leftBarButtonItem = UIBarButtonItem(title: "发现群", target: self, action: "findQun")
        
        
    }

    func findQun() {
        
//        let vc = CYTempViewController()
        
//        navigationController?.pushViewController(vc, animated: true)
    }
 

}
